<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="if (top.frames['componentsframe'] == undefined) { s = window.location.toString(); window.location = 'index.html?p=' + s.substring(s.lastIndexOf('/')+1); }">
<h2 class="comptitle">Simple Module <i>Mac80211MultiChannel</i></h2>
<b>Package:</b> org.mixim.modules.mac<br/><b>File: <a href="src-modules-mac-Mac80211MultiChannel.ned.html">src/modules/mac/Mac80211MultiChannel.ned</a></b><br/><p><a href="../doxy/a00129.html" target="mainframe"><b>C++ definition</b></a></p>

<p>Extends the the 802.11b MAC protocol by multi channel support meaning
changing of the channel used for transmission and reception during run-time. 
This module is intended to be used in combination with the 
Decider80211MultiChannel as decider for the physical layer.
See <a href="org.mixim.modules.nic.Nic80211MultiChannel.html">Nic80211MultiChannel</a> for a pre configured NIC using this module.</p>
<p>Note: Decider80211MultiChannel does not model interference between adjacent 
      channels!</p>
<p>This module supports ad-hoc mode only (does not generate or handle
management frames), and does not support fragmentation, RTS threshold,
duplication detection and recovery.</p>
<img src="org.mixim.modules.mac.Mac80211MultiChannel-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.modules.mac.Mac80211MultiChannel.html" title="Mac80211MultiChannel" alt="Mac80211MultiChannel" coords="0,30,171,70">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.mac.Mac80211MultiChannel-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" href="org.mixim.modules.mac.Mac80211MultiChannel.html" title="Simple Module Mac80211MultiChannel" alt="Mac80211MultiChannel" coords="7,16,151,40">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.mac.Mac80211MultiChannel-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" href="org.mixim.modules.mac.Mac80211MultiChannel.html" title="Simple Module Mac80211MultiChannel" alt="Mac80211MultiChannel" coords="7,88,151,112">
<area shape="rect" href="org.mixim.modules.mac.Mac80211.html" title="Simple Module Mac80211" alt="Mac80211" coords="43,16,115,40">
</map>
<h3 class="subtitle">Extends:</h3>
<table class="typestable">
   <tr>
      <th class="name">Name</th>
      <th class="type">Type</th>
      <th class="description">Description</th>
   </tr>
<tr>
   <td>
<a href="org.mixim.modules.mac.Mac80211.html">Mac80211</a>
   </td>
   <td>
<i>simple&nbsp;module</i>
   </td>
   <td>

<p>Implementation of the 802.11b MAC protocol. This module is intended
to be used in combination with the Decider80211 as decider for the 
physical layer.</p>

   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramstable">
   <tr>
      <th class="name">Name</th>
      <th class="type">Type</th>
      <th class="defaultvalue">Default value</th>
      <th class="description">Description</th>
   </tr>
<tr class="inherited">
   <td>notAffectedByHostState</td>
   <td>
      <i>bool</i>
   </td>
   <td>false</td>
   <td>
   </td>
</tr>
<tr class="inherited">
   <td>coreDebug</td>
   <td>
      <i>bool</i>
   </td>
   <td>false</td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr class="inherited">
   <td>headerLength</td>
   <td>
      <i>int</i>
   </td>
   <td>272bit</td>
   <td>
<p>length of the MAC packet header (in bits)</p>
   </td>
</tr>
<tr class="inherited">
   <td>address</td>
   <td>
      <i>string</i>
   </td>
   <td>"auto"</td>
   <td>
<p>MAC address as hex string (12 hex digits), or
"auto". "auto" values will be replaced by
a generated MAC address in init stage 1.</p>
   </td>
</tr>
<tr class="inherited">
   <td>debug</td>
   <td>
      <i>bool</i>
   </td>
   <td>false</td>
   <td>
<p>enable debugging for this module</p>
   </td>
</tr>
<tr class="inherited">
   <td>queueLength</td>
   <td>
      <i>int</i>
   </td>
   <td></td>
   <td>   </td>
</tr>
<tr class="inherited">
   <td>rtsCtsThreshold</td>
   <td>
      <i>int</i>
   </td>
   <td>-1</td>
   <td>
<p>Number of bits in a packet before RTS/CTS is used. 
Is currently not used.</p>
   </td>
</tr>
<tr class="inherited">
   <td>bitrate</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
   </td>
</tr>
<tr class="inherited">
   <td>autoBitrate</td>
   <td>
      <i>bool</i>
   </td>
   <td></td>
   <td>
<p>auto bit rate selection support: specify borders at which
to change modulation.</p>
   </td>
</tr>
<tr class="inherited">
   <td>snr2Mbit</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
<p>threshold to use 2Mbit (in dB)</p>
   </td>
</tr>
<tr class="inherited">
   <td>snr5Mbit</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
<p>threshold to use 5.5Mbit (in dB)</p>
   </td>
</tr>
<tr class="inherited">
   <td>snr11Mbit</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
<p>threshold to use 11Mbit (in dB)</p>
   </td>
</tr>
<tr class="inherited">
   <td>neighborhoodCacheSize</td>
   <td>
      <i>int</i>
   </td>
   <td></td>
   <td>
<p>keep information on neighborhood</p>
   </td>
</tr>
<tr class="inherited">
   <td>neighborhoodCacheMaxAge</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
<p>consider information in cache outdate if older than (in seconds)</p>
   </td>
</tr>
<tr class="inherited">
   <td>txPower</td>
   <td>
      <i>double</i>
   </td>
   <td></td>
   <td>
<p>the power to transmit packets with [mW]</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="propertiestable">
   <tr>
      <th class="name">Name</th>
      <th class="value">Value</th>
      <th class="description">Description</th>
   </tr>
<tr>
   <td>class</td>
   <td><i>Mac80211MultiChannel</i></td>
   <td>
</td>
</tr>
</table>
<h3 class="subtitle">Gates:</h3>
<table class="gatestable">
   <tr>
      <th class="name">Name</th>
      <th class="type">Direction</th>
      <th class="gatesize">Size</th>
      <th class="description">Description</th>
   </tr>
<tr class="inherited">
   <td>upperLayerIn</xsl:if></td>
   <td><i>input</i></td>
   <td></td>   <td>
<p>from upper layer</p>
</td>
</tr>
<tr class="inherited">
   <td>upperLayerOut</xsl:if></td>
   <td><i>output</i></td>
   <td></td>   <td>
<p>to uppe layer</p>
</td>
</tr>
<tr class="inherited">
   <td>upperControlIn</xsl:if></td>
   <td><i>input</i></td>
   <td></td>   <td>
<p>control from upper layer</p>
</td>
</tr>
<tr class="inherited">
   <td>upperControlOut</xsl:if></td>
   <td><i>output</i></td>
   <td></td>   <td>
<p>control to upper layer</p>
</td>
</tr>
<tr class="inherited">
   <td>lowerLayerIn</xsl:if></td>
   <td><i>input</i></td>
   <td></td>   <td>
<p>from lower layer</p>
</td>
</tr>
<tr class="inherited">
   <td>lowerLayerOut</xsl:if></td>
   <td><i>output</i></td>
   <td></td>   <td>
<p>to lower layer</p>
</td>
</tr>
<tr class="inherited">
   <td>lowerControlIn</xsl:if></td>
   <td><i>input</i></td>
   <td></td>   <td>
<p>control from lower layer</p>
</td>
</tr>
<tr class="inherited">
   <td>lowerControlOut</xsl:if></td>
   <td><i>output</i></td>
   <td></td>   <td>
<p>control to lower layer</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Extends the the 802.11b MAC protocol by multi channel support meaning
// changing of the channel used for transmission and reception during run-time. 
// This module is intended to be used in combination with the 
// Decider80211MultiChannel as decider for the physical layer.
// See Nic80211MultiChannel for a pre configured NIC using this module.
//
// Note: Decider80211MultiChannel does not model interference between adjacent 
//       channels!
//
// This module supports ad-hoc mode only (does not generate or handle
// management frames), and does not support fragmentation, RTS threshold,
// duplication detection and recovery.
//
</span><span style="color: #800000; font-weight: bold; ">simple</span><span style="color: #000000; "> </span><span style="color: #000000; ">Mac80211MultiChannel</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">Mac80211</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000000; font-weight: bold; ">@class</span><span style="color: #000000; ">(</span><span style="color: #000000; ">Mac80211MultiChannel</span><span style="color: #000000; ">);
}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
